from ninja import NinjaAPI
from apps.system.views import user as user_views
from apps.system.views import sys_menu as sys_menu_views
from apps.system.views import sys_dept as sys_dept_views
from apps.system.views import sys_config as sys_config_views


system_api = NinjaAPI(urls_namespace='系统管理模块')
system_api.add_router("/user", user_views.router, tags=["系统用户相关"])
system_api.add_router("/menu", sys_menu_views.router, tags=["系统菜单相关"])
system_api.add_router("/dept", sys_dept_views.router, tags=["系统部门相关"])
system_api.add_router("/config", sys_config_views.router, tags=["系统配置相关"])

